
import {defineStore} from 'pinia'
import { ref,type Ref } from "vue"

export const usePopupStore = defineStore('popup', () => {
	let popup:Ref<string> = ref<string>('')
	const setPopup = (type:string) => {
		popup.value = type
	}
	return {
		popup,
		setPopup
	}
}, {
	persist: {
		enabled: true
	}
})